package com.lbw.facade;

/**
 * @author lbw
 * @version 1.0
 * @date 2021/6/6 13:51
 */
public class Popcorn {
    private final static Popcorn INSTANCE = new Popcorn();

    private Popcorn() {
    }

    public static Popcorn getInstance() {
        return INSTANCE;
    }

    public void on() {
        System.out.println("PopCorn on");
    }

    public void off() {
        System.out.println("PopCorn off");
    }

    public void pop() {
        System.out.println("PopCorn is popping");
    }

}
